package com.qef.com.mmovie.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.qef.com.mmovie.base.BaseView;

import java.io.Serializable;
import java.util.List;

/**
 * Created by guangjiego on 2017/3/31.
 */

public class LaughImgEntity {

    /**
     * status : 0
     * msg : OK
     * data : [{"postid":"51427","title":"泰迪熊眼中的我","wx_small_app_title":"泰迪熊眼中的我","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-03-24/58d4b64523293_cut.jpeg","rating":"7.6","duration":"350","publish_time":"1490716980","like_num":"325","share_num":"298","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51427?qingapp=app_new"},{"postid":"51443","title":"比尔盖茨等众名人出镜：谁能为霍金配音","wx_small_app_title":"比尔盖茨等众名人出镜：谁能为霍金配音","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-03-28/58da3b2064571_cut.jpeg","rating":"7.8","duration":"330","publish_time":"1490630640","like_num":"436","share_num":"410","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51443?qingapp=app_new"},{"postid":"51399","title":"奥林匹克竞技之美","wx_small_app_title":"奥林匹克竞技之美","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-03-22/58d2428452138_cut.jpeg","rating":"6.8","duration":"184","publish_time":"1490544120","like_num":"229","share_num":"197","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51399?qingapp=app_new"},{"postid":"51401","title":"大脑洞逆袭：那些万万想不到的设计","wx_small_app_title":"大脑洞逆袭：那些万万想不到的设计","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-03-22/58d258f867f60_cut.jpeg","rating":"7.4","duration":"176","publish_time":"1490198640","like_num":"754","share_num":"796","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51401?qingapp=app_new"},{"postid":"51289","title":"3D全息投影丨美术馆被入侵啦！","wx_small_app_title":"3D全息投影丨美术馆被入侵啦！","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-03-08/58bff36e98f95_cut.jpeg","rating":"7.5","duration":"158","publish_time":"1488988980","like_num":"677","share_num":"1039","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51289?qingapp=app_new"},{"postid":"51152","title":"在黑白红的迷幻中无限循环","wx_small_app_title":"在黑白红的迷幻中无限循环","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-02-28/58b559123c003_cut.jpeg","rating":"7.1","duration":"254","publish_time":"1488297780","like_num":"637","share_num":"524","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51152?qingapp=app_new"},{"postid":"51203","title":"呆萌键盘仔的狂欢","wx_small_app_title":"呆萌键盘仔的狂欢","pid":"1","app_fu_title":"","is_xpc":"1","is_promote":"0","is_xpc_zp":"1","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-02-25/58b0efeccf3b6_cut.jpeg","rating":"7.8","duration":"146","publish_time":"1487990783","like_num":"1296","share_num":"1780","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51203?qingapp=app_new"},{"postid":"51116","title":"创意逐帧定格动画丨模拟加载器","wx_small_app_title":"创意逐帧定格动画丨模拟加载器","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-02-16/58a58e5f2e3d4_cut.jpeg","rating":"7.3","duration":"123","publish_time":"1487261040","like_num":"836","share_num":"680","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51116?qingapp=app_new"},{"postid":"51025","title":"big满满：丹麦皇家剧院的前世今生","wx_small_app_title":"big满满：丹麦皇家剧院的前世今生","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-02-03/58943ffbe8b3c_cut.jpeg","rating":"7.8","duration":"90","publish_time":"1486224300","like_num":"762","share_num":"650","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/51025?qingapp=app_new"},{"postid":"50924","title":"她的奇幻手绘世界","wx_small_app_title":"她的奇幻手绘世界","pid":"1","app_fu_title":"","is_xpc":"0","is_promote":"0","is_xpc_zp":"0","is_xpc_cp":"0","is_xpc_fx":"0","is_album":"0","tags":"","recent_hot":"0","discussion":"0","image":"http://cs.vmoiver.com/Uploads/cover/2017-01-20/5881c3086273e_cut.jpeg","rating":"7.4","duration":"146","publish_time":"1485878700","like_num":"1016","share_num":"842","cates":[{"cateid":"6","catename":"创意"}],"request_url":"http://app.vmoiver.com/50924?qingapp=app_new"}]
     */

    private String status;
    private String msg;
    private List<DataEntity> data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity implements Parcelable, Serializable, BaseView {
        /**
         * postid : 51427
         * title : 泰迪熊眼中的我
         * wx_small_app_title : 泰迪熊眼中的我
         * pid : 1
         * app_fu_title :
         * is_xpc : 0
         * is_promote : 0
         * is_xpc_zp : 0
         * is_xpc_cp : 0
         * is_xpc_fx : 0
         * is_album : 0
         * tags :
         * recent_hot : 0
         * discussion : 0
         * image : http://cs.vmoiver.com/Uploads/cover/2017-03-24/58d4b64523293_cut.jpeg
         * rating : 7.6
         * duration : 350
         * publish_time : 1490716980
         * like_num : 325
         * share_num : 298
         * cates : [{"cateid":"6","catename":"创意"}]
         * request_url : http://app.vmoiver.com/51427?qingapp=app_new
         */

        private String postid;
        private String title;
        private String wx_small_app_title;
        private String pid;
        private String app_fu_title;
        private String is_xpc;
        private String is_promote;
        private String is_xpc_zp;
        private String is_xpc_cp;
        private String is_xpc_fx;
        private String is_album;
        private String tags;
        private String recent_hot;
        private String discussion;
        private String image;
        private String rating;
        private String duration;
        private String publish_time;
        private String like_num;
        private String share_num;
        private String request_url;
        private List<CatesEntity> cates;

        protected DataEntity(Parcel in) {
            postid = in.readString();
            title = in.readString();
            wx_small_app_title = in.readString();
            pid = in.readString();
            app_fu_title = in.readString();
            is_xpc = in.readString();
            is_promote = in.readString();
            is_xpc_zp = in.readString();
            is_xpc_cp = in.readString();
            is_xpc_fx = in.readString();
            is_album = in.readString();
            tags = in.readString();
            recent_hot = in.readString();
            discussion = in.readString();
            image = in.readString();
            rating = in.readString();
            duration = in.readString();
            publish_time = in.readString();
            like_num = in.readString();
            share_num = in.readString();
            request_url = in.readString();
        }

        public static final Creator<DataEntity> CREATOR = new Creator<DataEntity>() {
            @Override
            public DataEntity createFromParcel(Parcel in) {
                return new DataEntity(in);
            }

            @Override
            public DataEntity[] newArray(int size) {
                return new DataEntity[size];
            }
        };

        public String getPostid() {
            return postid;
        }

        public void setPostid(String postid) {
            this.postid = postid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getWx_small_app_title() {
            return wx_small_app_title;
        }

        public void setWx_small_app_title(String wx_small_app_title) {
            this.wx_small_app_title = wx_small_app_title;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getApp_fu_title() {
            return app_fu_title;
        }

        public void setApp_fu_title(String app_fu_title) {
            this.app_fu_title = app_fu_title;
        }

        public String getIs_xpc() {
            return is_xpc;
        }

        public void setIs_xpc(String is_xpc) {
            this.is_xpc = is_xpc;
        }

        public String getIs_promote() {
            return is_promote;
        }

        public void setIs_promote(String is_promote) {
            this.is_promote = is_promote;
        }

        public String getIs_xpc_zp() {
            return is_xpc_zp;
        }

        public void setIs_xpc_zp(String is_xpc_zp) {
            this.is_xpc_zp = is_xpc_zp;
        }

        public String getIs_xpc_cp() {
            return is_xpc_cp;
        }

        public void setIs_xpc_cp(String is_xpc_cp) {
            this.is_xpc_cp = is_xpc_cp;
        }

        public String getIs_xpc_fx() {
            return is_xpc_fx;
        }

        public void setIs_xpc_fx(String is_xpc_fx) {
            this.is_xpc_fx = is_xpc_fx;
        }

        public String getIs_album() {
            return is_album;
        }

        public void setIs_album(String is_album) {
            this.is_album = is_album;
        }

        public String getTags() {
            return tags;
        }

        public void setTags(String tags) {
            this.tags = tags;
        }

        public String getRecent_hot() {
            return recent_hot;
        }

        public void setRecent_hot(String recent_hot) {
            this.recent_hot = recent_hot;
        }

        public String getDiscussion() {
            return discussion;
        }

        public void setDiscussion(String discussion) {
            this.discussion = discussion;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getRating() {
            return rating;
        }

        public void setRating(String rating) {
            this.rating = rating;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getPublish_time() {
            return publish_time;
        }

        public void setPublish_time(String publish_time) {
            this.publish_time = publish_time;
        }

        public String getLike_num() {
            return like_num;
        }

        public void setLike_num(String like_num) {
            this.like_num = like_num;
        }

        public String getShare_num() {
            return share_num;
        }

        public void setShare_num(String share_num) {
            this.share_num = share_num;
        }

        public String getRequest_url() {
            return request_url;
        }

        public void setRequest_url(String request_url) {
            this.request_url = request_url;
        }

        public List<CatesEntity> getCates() {
            return cates;
        }

        public void setCates(List<CatesEntity> cates) {
            this.cates = cates;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(postid);
            dest.writeString(title);
            dest.writeString(wx_small_app_title);
            dest.writeString(pid);
            dest.writeString(app_fu_title);
            dest.writeString(is_xpc);
            dest.writeString(is_promote);
            dest.writeString(is_xpc_zp);
            dest.writeString(is_xpc_cp);
            dest.writeString(is_xpc_fx);
            dest.writeString(is_album);
            dest.writeString(tags);
            dest.writeString(recent_hot);
            dest.writeString(discussion);
            dest.writeString(image);
            dest.writeString(rating);
            dest.writeString(duration);
            dest.writeString(publish_time);
            dest.writeString(like_num);
            dest.writeString(share_num);
            dest.writeString(request_url);
        }

        public static class CatesEntity {
            /**
             * cateid : 6
             * catename : 创意
             */

            private String cateid;
            private String catename;

            public String getCateid() {
                return cateid;
            }

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public String getCatename() {
                return catename;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }
        }
    }
}
